<include file="Common:layout" />
<body style="background-color: #FFF; overflow: auto;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>退款申请</h3>
                <h5>退款申请详情页面</h5>
            </div>
        </div>
    </div>
    <!-- 操作说明 -->
    <div class="explanation" id="explanation">
        <div class="title" id="checkZoom"><i class="fa fa-lightbulb-o"></i>
            <h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
            <span id="explanationZoom" title="收起提示"></span> </div>
        <ul>
            <li>退款申请详情页面</li>
        </ul>
    </div>
        <div class="ncap-form-default">
            <dl class="row">
                <dt class="tit">
                    <label for="store_id" >订单编号:</label>
                </dt>
                <dd class="opt">
                    <input id="store_id" name="sitename" value="{$info.t_order_id}" class="input-txt" type="text" disabled/>
                    <p class="notic">退款订单的编号</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="store_name">用户名称:</label>
                </dt>
                <dd class="opt">
                    <div class="tit">
                        <input id="store_name" name="sitename" value="{$info.name}" class="input-txt" type="text" disabled/>
                    </div>
                    <p class="notic">提交退款订单申请的用户名称</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="store_time">申请日期：</label>
                </dt>
                <dd class="opt">
                    <input id="store_time" name="sitetitle" value="{$info.time}" class="input-txt" type="text" disabled/>
                    <p class="notic">提交退款申请的申请日期</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>用户上传照片：</label>
                </dt>
                <dd class="opt">
                    <foreach name="pics" item="pic">
                        <td>
                            <div class="goods_xc" style="width:100px; text-align:center; margin: 5px; display:inline-block;">
                                <a href="{$pic['img']}" onclick="" target="_blank">
                                    <img src="{$pic['img']}" width="100" height="100">
                                </a>
                            </div>
                        </td>
                    </foreach>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>退款理由：</label>
                </dt>
                <dd class="opt">
                    <input id="store_reason" name="sitetitle" value="{$info.reason}" class="input-txt" type="text" disabled/>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>退款备注：</label>
                </dt>
                <dd class="opt">
                    <textarea disabled>{$info.remark}</textarea>
                    <!--<span class="err"></span>-->
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label>退款金额</label>
                </dt>
                <dd class="opt">
                    <input id="store_dis_money" name="sitetitle" value="{$info['back_sum']}" class="input-txt" type="text" disabled/>
                </dd>
            </dl>


            <dl class="row">
                <dt class="tit">
                    <label>审核备注：</label>
                </dt>
                <dd class="opt">
                    <textarea class="judge" disabled>{$info['judge_mes']}</textarea>
                    <!--<span class="err"></span>-->
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label>是否通过：</label>
                </dt>
                <dd class="opt">
                    <switch name="info['order_status']">
                        <case value="1">
                            <input name="sitetitle" value="审核中" class="input-txt" type="text" disabled/>
                        </case>
                        <case value="2">
                            <input name="sitetitle" value="通过" class="input-txt" type="text" disabled/>
                        </case>
                        <case value="3">
                            <input name="sitetitle" value="不通过" class="input-txt" type="text" disabled/>
                        </case>
                    </switch>
                </dd>
            </dl>
            <notempty name="info['judge_time']">
            <dl class="row">
                <dt class="tit">
                    <label>退款时间</label>
                </dt>
                <dd class="opt">
                    <input id="store_back_time" name="sitetitle" value="{$info['judge_time']}" class="input-txt" type="text" disabled/>
                </dd>
            </dl>
            </notempty>
            <div  style="padding: 0 0 0 0 " class="page">
                <div class="ncap-order-details">
                    <form id="order-action">
                        <input type="hidden" value="{$order['id']}" id="order_id">
                        <div class="tabs-panels">

                            <div class="goods-info">
                                <h4>商品信息</h4>
                                <table>
                                    <thead>
                                    <tr>
                                        <th >商品ID</th>
                                        <th>商品图片</th>
                                        <th>商品名称</th>
                                        <th>退货数量</th>
                                        <th>价格小计</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>{$info['good_id']}</td>
                                            <td>
                                                <a href="{:U('Good/edit',array('id'=>$info['good_id']))}" target="_blank">
                                                    <img src="{$info['img']}" style="height: 20px;"/>
                                                </a>
                                            </td>
                                            <td>{$info['name']|cut_str='15',###}</td>
                                            <td>{$info['num']}</td>
                                            <td>{$info['back_sum']}</td>
                                        </tr>
                                </table>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
</div>
</body>





